﻿using AutoMapper;
using Domain.Models;

namespace ViewModel.Auth
{
    public class AuthModel
    {
        public string UserName { get; set; }

        public string Password { get; set; }
    }

    public class AuthModelProfile : Profile
    {
        public AuthModelProfile()
        {
            CreateMap<AuthModel, Account>()
                .ReverseMap();
        }
    }
}
